//
//  GuanzhuPerCell.m
//  XiangCaoJiaYuan
//
//  Created by long Kan on 17/9/22.
//  Copyright © 2017年 tongj. All rights reserved.
//

#import "GuanzhuPerCell.h"

@implementation GuanzhuPerCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
-(void)setModel:(GuanzhuModel *)model{
    [self.headImage sd_setImageWithURL:[NSURL URLWithString:model.user_image] placeholderImage:[UIImage imageNamed:@"抽奖记录_03.png"]];
    
    self.headImage.userInteractionEnabled = YES;
    self.headImage.clipsToBounds = YES;
    self.headImage.layer.cornerRadius = 20;
    self.nickName.text = model.user_nickname;
}
@end
